1╛e's View.h++ Code Example

View.h++ Code Example

Here is a very simple example of the natural and intuitive interface provided by View.h++

Using C with Motif

XmString delMsg, button1, filename;
delMsg = XmStringCreateSimple ("Delete");
filename = XmStringCreateSimple ("workfile");
button1 = XmStringConcat(delMsg, filename);

Using View.h++

RWXmString delMsg("Delete"), filename("workfile"), button1;
button1 = delMsg + filename;  // Using + to concatenate
Back

  Home Page       RW Pavilion       Products

© Copyright 1995, Rogue Wave Software, Inc.
Send comments to the Rogue Wave webmaster.

© Copyright 1995, Rogue Wave Software, Inc.